package com.hckjsec.law.domain.HomeView;

import com.hckjsec.common.annotation.Excel;

public class LawHomeConsulling {
    private Long id;
    private String type;
    @Excel(name = "单位名称")
    private String name;
    @Excel(name = "待回复")
    private Long  noreply;//待回复
    @Excel(name = "已回复")
    private Long  reply;//已回复
    @Excel(name = "追问待回复")
    private Long  questioning;//追问
    @Excel(name = "已完结")
    private Long  hasended;//已结束
    @Excel(name = "待回复小计")
    private Long  noreplySubtotal;//待回复小计
    @Excel(name = "已回复小计")
    private Long  replySubtotal;//已回复小计
    @Excel(name = "合计")
    private Long  total;//合计

    public void  plus(){
        this.noreplySubtotal = this.noreply + this.questioning;
        this.replySubtotal = this.reply + this.hasended;
        this.total = this.noreply + this.questioning + this.reply + this.hasended;
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getNoreply() {
        return noreply;
    }

    public void setNoreply(Long noreply) {
        this.noreply = noreply;
    }

    public Long getReply() {
        return reply;
    }

    public void setReply(Long reply) {
        this.reply = reply;
    }

    public Long getQuestioning() {
        return questioning;
    }

    public void setQuestioning(Long questioning) {
        this.questioning = questioning;
    }

    public Long getHasended() {
        return hasended;
    }

    public void setHasended(Long hasended) {
        this.hasended = hasended;
    }

    public Long getNoreplySubtotal() {
        return noreplySubtotal;
    }

    public void setNoreplySubtotal(Long noreplySubtotal) {
        this.noreplySubtotal = noreplySubtotal;
    }

    public Long getReplySubtotal() {
        return replySubtotal;
    }

    public void setReplySubtotal(Long replySubtotal) {
        this.replySubtotal = replySubtotal;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
